const scss = require('../../assets/styles/map.module.scss');

interface MToolProps {
    listMode: any;
}

export const MTool = (
    { listMode }: MToolProps
) => {
    return <div
        className={scss['effects-ui-menu']}
    >
        {
            listMode.map((item: any) => {
                return (
                    <div>
                        <div onClick={item.component}>
                            {item.name}

                        </div>
                        
                    </div>
                )
            })
        }
    </div>
}
